package com.ruoyi.waterManagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.waterManagement.domain.vo.DataQualityVO;

import java.text.ParseException;
import java.util.List;


public interface DataQualityMapper extends BaseMapper<DataQualityVO>  {

    /**
     * 查询水管机构所属测站上报频率及实报次数
     * @param dataQualityVO
     * @return
     */
   List<DataQualityVO> selStStationRSbCount(DataQualityVO dataQualityVO);
    /**
     * 按年查询月水管机构所属测站上报频率及实报次数
     * @param dataQualityVO
     * @return
     */
    List<DataQualityVO> selStStationRSbCountGroupYM(DataQualityVO dataQualityVO);

    /**
     * 按月查询日水管机构所属测站上报频率及实报次数
     * @param dataQualityVO
     * @return
     */
    List<DataQualityVO> selStStationRSbCountGroupMD(DataQualityVO dataQualityVO);

    /**
     * 按水管机构查询测站上报频率
     * @param dataQualityVO
     * @return
     */
    List<DataQualityVO> selStStationFreqByOrgCd(DataQualityVO dataQualityVO);


    /**
     * 查询水管机构所属图片测站上报频率及实报次数
     * @param dataQualityVO
     * @return
     */
    List<DataQualityVO> selPicStStationRSbCount(DataQualityVO dataQualityVO);
    /**
     * 按年查询月水管机构所属测站上报频率及实报次数
     * @param dataQualityVO
     * @return
     */
    List<DataQualityVO> selPicStStationRSbCountGroupYM(DataQualityVO dataQualityVO);

    /**
     * 按月查询日水管机构所属测站上报频率及实报次数
     * @param dataQualityVO
     * @return
     */
    List<DataQualityVO>selPicStStationRSbCountGroupMD(DataQualityVO dataQualityVO);

    /**
     * 显示各监测站的设备报警率及逐级汇总数据
     * @param dataQualityVO
     * @return
     */
    List<DataQualityVO> selEquipmentAlarmBjlCount(DataQualityVO dataQualityVO);


    /**
     * 显示年月监测站的设备报警率及逐级汇总数据
     * @param eqDataQualityVO
     * @return
     */
    public List<DataQualityVO> selEquipmentAlarmBjlCountGroupYM (DataQualityVO eqDataQualityVO) throws ParseException;

    /**
     * 显示月日监测站的设备报警率及逐级汇总数据
     * @param eqDataQualityVO
     * @return
     */
    public List<DataQualityVO>  selEquipmentAlarmBjlCountGroupMD (DataQualityVO eqDataQualityVO) throws ParseException;
}
